<?php

// ###################### Start init #######################
//load config
require("./config.php");
require("./functions.php");

// init db **********************
// load db class
$dbclassname="./db_$dbservertype.php";
require($dbclassname);

$DB_site=new DB_Sql_vb;

$DB_site->appname="$website_title";
$DB_site->appshortname="Website";
$DB_site->database=$dbname;
$DB_site->server=$servername;
$DB_site->user=$dbusername;
$DB_site->password=$dbpassword;

$DB_site->connect();

$dbpassword="";
$DB_site->password="";
// end init db

?>
